﻿// GlobalTokens.fs
//
// Copyright 2009 Sergey Mechtaev
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation.


#light

namespace SmartCPP.Core.Parser

module GlobalTokens = 

    let DefineOffset = 7
    let IfOffset = 3
    let IfdefOffset = 6
    let ElifOffset = 5
    let IncludeOffset = 8
     
    ///GlobalTokens represents file decomposition on directives and texts
    type GlobalTokens =
        | GlobalText of string
        | GlobalDefineDirective of string
        | GlobalIfDirective of string
        | GlobalElseDirective
        | GlobalIfdefDirective of string
        | GlobalEndifDirective
        | GlobalElifDirective of string
        | GlobalIncludeDirective of string
        | GlobalEof
